package com.jmb.apiplatform.service;


import com.jmb.apiplatform.common.PageResult;
import com.jmb.apiplatform.exception.ValidException;
import com.jmb.apiplatform.pojo.DbDao;
import com.jmb.apiplatform.pojo.DbVO;

public interface DbService {
    void saveDb(DbDao dbDao) throws ValidException;
    DbDao getDbId(Integer id) throws ValidException;
    PageResult<DbDao> ListDao(DbVO dbVO);
    void modifyDb(DbDao dbDao) throws ValidException;
    void deleteDb(Integer id) throws ValidException;
    String dbConnectInfo (Integer id) throws ValidException;
    DbVO findDbById(Integer id);
}
